package pers.vic.blog.module.api.mapper;

import org.apache.ibatis.annotations.Param;
import pers.vic.boot.base.mapper.BaseMapper;
import pers.vic.blog.module.api.model.BlogCategory;
/**
 * @description:博客分类表 Mapper
 * @author Vic.xu
 * @date: 2020-05-08 09:38
 */
public interface BlogCategoryMapper extends BaseMapper<BlogCategory> {
    /**
     * 更新文章的数量
     * @param id id
     * @return 数量
     */
    int updateArticleNum(@Param("id") Integer id);
}
